package com.imc.beans;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * UserInfoUpdate entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "user_info_update", catalog = "imcdbserver")
public class UserInfoUpdate implements java.io.Serializable {

	// Fields

	private Integer id;
	private Date createtime;
	private String flag;
	private String passwd;
	private String mobile;
	private String phone;
	private String email;
	private String nick;
	private String xwtZhId;
	private String organId;
	private String gender;
	private String corpId;
	private String xjBhao;
	private String address;
	private String name;
	private Integer uid;
	private String juese;
	private String deptName;

	// Constructors

	/** default constructor */
	public UserInfoUpdate() {
	}

	/** full constructor */
	public UserInfoUpdate(Date createtime, String flag, String passwd,
			String mobile, String phone, String email, String nick,
			String xwtZhId, String organId, String gender, String corpId,
			String xjBhao, String address, String name, Integer uid,
			String juese, String deptName) {
		this.createtime = createtime;
		this.flag = flag;
		this.passwd = passwd;
		this.mobile = mobile;
		this.phone = phone;
		this.email = email;
		this.nick = nick;
		this.xwtZhId = xwtZhId;
		this.organId = organId;
		this.gender = gender;
		this.corpId = corpId;
		this.xjBhao = xjBhao;
		this.address = address;
		this.name = name;
		this.uid = uid;
		this.juese = juese;
		this.deptName = deptName;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "createtime", length = 19)
	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Column(name = "flag", length = 1)
	public String getFlag() {
		return this.flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	@Column(name = "passwd", length = 20)
	public String getPasswd() {
		return this.passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	@Column(name = "mobile", length = 20)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "phone", length = 20)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "email", length = 50)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "nick", length = 30)
	public String getNick() {
		return this.nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	@Column(name = "xwt_zh_id", length = 20)
	public String getXwtZhId() {
		return this.xwtZhId;
	}

	public void setXwtZhId(String xwtZhId) {
		this.xwtZhId = xwtZhId;
	}

	@Column(name = "organ_id", length = 20)
	public String getOrganId() {
		return this.organId;
	}

	public void setOrganId(String organId) {
		this.organId = organId;
	}

	@Column(name = "gender", length = 20)
	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	@Column(name = "corp_id", length = 20)
	public String getCorpId() {
		return this.corpId;
	}

	public void setCorpId(String corpId) {
		this.corpId = corpId;
	}

	@Column(name = "xj_bhao", length = 20)
	public String getXjBhao() {
		return this.xjBhao;
	}

	public void setXjBhao(String xjBhao) {
		this.xjBhao = xjBhao;
	}

	@Column(name = "address", length = 64)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "NAME", length = 20)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "uid")
	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	@Column(name = "JUESE", length = 20)
	public String getJuese() {
		return this.juese;
	}

	public void setJuese(String juese) {
		this.juese = juese;
	}

	@Column(name = "deptName", length = 20)
	public String getDeptName() {
		return this.deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

}